var express = require('express');
var router = express.Router();

var {Zxymodel}  = require('../model/zxy')

router.get('/list',async(req,res)=>{
  const zxydata = await Zxymodel.find()
  const aa = "aaa"
  const a = new RegExp(aa)
  console.log(a);
  res.send({
    code:200,
    msg:"请求成功",
    zxydata,
    a
  }) 
})
module.exports = router